<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">

</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(file.id)!}"/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">文件名</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input fileName"
                   lay-verify="required" name="fileName" id="fileName"  value="${(file.fileName)!}" placeholder="请输入文件名">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">文件类型</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                    name="fileType" value="${(file.fileType)!}"
                   id="fileType"
                   placeholder="请输入文件类型">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">传输者</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                   name="fileSender" value="${(file.fileSender)!}" id="fileSender" placeholder="请输入传输者">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">项目组号</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                  name="projectId" value="${(file.projectId)!}" id="projectId" placeholder="请输入项目组号">
        </div>
    </div>



    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="addOrUpdateFile">确认
            </button>
            <a class="layui-btn layui-btn-lg layui-btn-normal"  id="closeDlg" href="javascript:void(0)">取消</a>
        </div>
    </div>
</form>
<script type="text/javascript" src="${ctx.contextPath}/public/js/file/add.update.js"></script>
</body>
</html>